package com.ycsd.invest.order.business.dto;

import com.drew.lang.annotations.NotNull;
import kd.bos.openapi.common.custom.annotation.ApiModel;
import kd.bos.openapi.common.custom.annotation.ApiParam;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Descrіption:
 * @Author: yn
 * @Date: 2025/6/23 14:18
 */
@Data
@ApiModel
public class StudyFormDto implements Serializable {

    private final static long serialVersionUID = 214223L;

    @Min(value = 10, message = "金额不能小于10")
    @ApiParam(value = "金额")
    private BigDecimal amount;

    @NotNull
    @ApiParam("数字")
    private Integer number;

    @ApiParam("数字二")
    private Integer number_two;

    @ApiParam("乘")
    private Integer multiplyval;

    @ApiParam("和")
    private Integer sum_val;

    @ApiParam("备注")
    @NotNull
    @Length(min=6,max = 20)
    private String remark;

    public interface Save {

    }
}
